@media only screen and (min-width: 1500px){
	.main-wrapper{
		position: absolute;
		width: 100%;
	}
	
	.banner{
		background: #F8F6F0;
		position: relative;
		width: 100%;
		z-index: 100;
		height: auto;
		text-align: center;
	}
	
	.header-wrapper{
		width: 100%;
	}
	
	.main-header{
		position: relative;
		background-color: rgb(172, 19, 242);
		z-index: 50;
		width: 100%;
	}
	
	.web-header{
		position: relative;
		width: 1400px;
		height: 100px;
		margin: 0 auto;
	}
	
	.main-navbar{
		position: relative;
		float: right;
		margin-top: 42px;
	}
	.main-navbar ul{
		display: flex;
		gap: 25px;
	}
	.main-navbar li{
		position: relative;
		display: inline-block;
	}
	.main-navbar a{
		font-family: Ordinary Notes;
		color: white;
		font-size: 22px;
		text-decoration: none;
	}
	.main-navbar a:hover{
		font-family: Ordinary Notes;
		color: purple;
		font-size: 22px;
		text-decoration: none;
		text-shadow: 0 0 10px rgba(170, 0, 255, 0.7),
        0 0 20px rgba(128, 0, 128, 0.5);
	}
	
	.sub-navbar{
		position: absolute;
		margin-left: 22.5%;
		z-index: 51;
		margin-top: 35px;
		display: none;
		flex-direction: column;
		text-align: center;
		background-color: rgba(51, 51, 51, 0.8);
		height: 55px;
		border: 1px solid rgba(68, 68, 68, 0.5);
		border-radius: 10px;
		box-shadow: 0 0 20px rgba(0, 0, 0, 1);
		opacity: 0;
		transform: translateY(-20px);
		transition: opacity 0.5s, transform 0.5s;
		pointer-events: none;
	}
	
	.sub-navbar.active{
		display: flex;
		opacity: 1;
		transform: translateY(0);
		pointer-events: auto;
	}
	
	.separation-line {
		border-right: 2px solid rgba(247, 247, 247, 0.2);
		border-radius: 1px;
		padding-right: 20px;
}
	.sub-navbar li{
		margin-left: 6px;
		margin-right: 6px;
		margin-bottom: -20px;
	}
	
	.arrow {
		display: inline-block;
		width: 0;
		height: 0;
		border-left: 5px solid transparent;
		border-right: 5px solid transparent;
		border-top: 5px solid #fff;
		margin-left: 5px;
		transition: transform 0.2s ease-in-out;
		cursor: pointer;
	}
	
	.arrow.active {
	  transform: rotate(180deg);
	}
	
.hamburger-menu {
  display: none;
}

.sticky-hamburger-menu {
  display: none;
}

	
	.pilsung-logo{
		margin-top: 10px;
		margin-bottom: 10px;
		height: 80px;
	}
	
	/* Sticky Header */
	.sticky-main-header{
		position: fixed;
		background-color: rgba(216, 29, 245, 0.5);
		width: 100%;
		z-index: 39;
		top: -100px;
		transition: top 0.5s ease-in-out;
	}
	
	.sticky-main-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
 background-image: linear-gradient(rgba(172, 19, 242, 0.3), rgba(172, 19, 242, 0.3));
  filter: blur(5px);
  transform: scale(1.1);
  z-index: -1;
  backdrop-filter: blur(5px);
  overflow: hidden;
}
	
	.sticky-main-header.show{
		top: 0;
	}
	
	
	@keyframes slideDown {
		0% {
			transform: translateY(-100%);
		}
		100% {
			transform: translateY(0);
		}
	}
	
	.sticky-web-header{
		position: relative;
		width: 1400px;
		margin: 0 auto;
		height: 80px;
	}
	
	.sticky-pilsung-logo{
		margin-top: 8px;
		margin-bottom: 8px;
		height: 65px;
	}
	
	.sticky-main-navbar{
		position: relative;
		float: right;
		margin-top: 30px;
	}
	.sticky-main-navbar ul{
		display: flex;
		gap: 25px;
	}
	.sticky-main-navbar li{
		position: relative;
		display: inline-block;
	}
	.sticky-main-navbar a{
		font-family: Ordinary Notes;
		color: white;
		font-size: 22px;
		text-decoration: none;
	}
	.sticky-main-navbar a:hover{
		font-family: Ordinary Notes;
		color: purple;
		font-size: 22px;
		text-decoration: none;
		text-shadow: 0 0 10px rgba(170, 0, 255, 0.7),
        0 0 20px rgba(128, 0, 128, 0.5);
	}
	.sticky-sub-navbar{
		position: absolute;
		margin-left: 22.5%;
		z-index: 99;
		margin-top: 35px;
		display: none;
		flex-direction: column;
		text-align: center;
		background-color: rgba(51, 51, 51, 0.8);
		height: 55px;
		border: 1px solid rgba(68, 68, 68, 0.5);
		border-radius: 10px;
		box-shadow: 0 0 20px rgba(0, 0, 0, 1);
		opacity: 0;
		transform: translateY(-20px);
		transition: opacity 0.5s, transform 0.5s;
		pointer-events: none;
	}
	.sticky-sub-navbar.active{
		display: flex;
		opacity: 1;
		transform: translateY(0);
		pointer-events: auto;
	}
	
	.sticky-separation-line {
		border-right: 2px solid rgba(247, 247, 247, 0.2);
		border-radius: 1px;
		padding-right: 20px;
}
	.sticky-sub-navbar li{
		margin-left: 6px;
		margin-right: 6px;
		margin-bottom: -20px;
	}
	
	.sticky-arrow {
		display: inline-block;
		width: 0;
		height: 0;
		border-left: 5px solid transparent;
		border-right: 5px solid transparent;
		border-top: 5px solid #fff;
		margin-left: 5px;
		transition: transform 0.2s ease-in-out;
		cursor: pointer;
	}
	
	.sticky-arrow.active {
	  transform: rotate(180deg);
	}
	
	/* Page */
	.wrapper{
		position: relative;
		max-height: auto;
		margin-bottom: -80px;
	}
	
	.page {
		position: relative;
		padding-top: 20px;
		padding-bottom: 100px;
		width: 100vw;
		transition: transform 0.5s ease-in-out;
	}
	
		.slides {
  position: relative;
  width: 100%;
  height: 700px;
  margin-top: -20px;
  margin-bottom: -3px;
  white-space: nowrap;
  overflow: hidden;
  display: flex;
  touch-action: none;
}

.slide-container {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease-out;
  opacity: 0;
  flex-shrink: 0; /* Added flex-shrink: 0 */
  overflow: hidden;
}

.slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  overflow: hidden;
}

.slide:first-child {
    opacity: 1;
	overflow: hidden;
}

 @keyframes slide-out-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes slide-in-left {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes slide-out-right {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes slide-in-right {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}

.slide-out-left {
  animation: slide-out-left 0.3s;
}

.slide-in-left {
  animation: slide-in-left 0.3s;
}

.slide-out-right {
  animation: slide-out-right 0.3s;
}

.slide-in-right {
  animation: slide-in-right 0.3s;
}

.thumbnail-container-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 820px;
  height: 100vh;
  margin: 0 auto;
  z-index: 1;
}

.thumbnail-container {
  position: relative;
  overflow: visible;
  transition: none;
  max-width: 100%;
  text-align: center;
  margin-top: 4px;
}

.thumbnail {
  flex-basis: 0;
  flex-grow: 1;
  width: calc(20% - 1px);
  max-width: 200px;
  position: relative;
  display: inline-block;
  transform: scale(1);
  margin: 10px 5px; /* Update this line */
  overflow: visible;
  transition: transform 0.2s ease-in-out, margin 0.2s ease-in-out, background-size 0.2s ease-in-out;
}

.thumbnail.selected {
	position: relative;
  transform: scale(1.15, 1.04);
  z-index: 1;
  transition: transform 0.2s ease-in-out, margin 0.2s ease-in-out, background-size 0.2s ease-in-out;
  margin: 0 20px;
}

.thumbnail:nth-child(1) {
margin-left: 55px;
}

.thumbnail.selected:nth-child(1) {
margin-left: 70px;
}

.thumbnail:nth-child(4) {
margin-right: 0px;
}

.thumbnail.selected:nth-child(4) {
margin-right: 10px;
}

.thumbnail.selected .image-container {
  transform: scale(1);
  background-size: 210px 120px;
  background-position: center;
    transition: transform 0.2s ease-in-out, margin 0.2s ease-in-out, background-size 0.2s ease-in-out;

}

.image-container {
  overflow: hidden;
  width: 100%;
  height: 100px;
  background-size: 240px 140px;
  background-position: center;
  border-radius: 10px;
  transform-origin: center;
  cursor: pointer;
      transition: transform 0.2s ease-in-out, margin 0.2s ease-in-out, background-size 0.2s ease-in-out;


}

.thumbnail svg {
  position: absolute;
  visibility: hidden;
  top: -7px;
  left: -6px;
  pointer-events: none;
  z-index: 0;
  width: 106%; /* Increased width */
  height: 119%; /* Increased height */
}

.thumbnail svg rect {
  stroke-dasharray: 630;
  stroke-dashoffset: 630;
}

.thumbnail.selected svg rect {
	visibility: visible;
  animation: draw-path 13s linear forwards;
}

@keyframes draw-path {
  0% {
    stroke-dashoffset: 630; /* adjust this value */
  }
  100% {
    stroke-dashoffset: 0;
  }
}

.thumbnail.selected svg rect.paused {
  animation-play-state: paused;
}

.pause-play-button {
  position: absolute;
  bottom: 5px;
  left: 6px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  z-index: 1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.thumbnail.selected .pause-play-button {
   opacity: 1;
}

.pause-play-button i {
  font-size: 20px;
  color: #333;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#pause-icon {
  display: block;
}

#play-icon {
	display: none;
}
	
	.home-section1{
		margin: 0 auto;
		position: relative;
    width: 100vw;
	text-align: center;
	}
	
	.home-section2 {
  position: relative;
  width: 1450px;
  display: block;
  justify-content: center;
  margin: 0 auto;
}
	
.home-section2 h1{
	position: relative;
	text-align: left;
	font-size: 45px;
	margin-top: 30px;
}

.home-section2 p{
	position: relative;
	text-align: left;
	font-size: 20px;
}

.youtube-feed {
	position: relative;
	width: 1450px;
	display: block;
	justify-content: center;
	margin: 0 auto;
}

.youtube-feed ul {
	position: relative;
  display: flex;
    flex-wrap: wrap;
    gap: 25px 40px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.youtube-feed li {
  position: relative;         
  flex: 0 0 calc(50% - 20px);
  width: 100%; /* Let the grid cell control the width */
  cursor: pointer;
  overflow: hidden;      /* <-- add this */
  border-radius: 20px; 
}

/* 1️⃣  Add an overlay pseudo‑element that lives above the image  */
.youtube-feed li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);          /* invisible by default */
    transition: background 0.2s ease;
    z-index: 1;                           /* above the image */
    border-radius: 20px;                  /* match the image corners */
}

/* 2️⃣  Darken the overlay on hover  */
.youtube-feed li:hover::before {
    background: rgba(0, 0, 0, 0.3);       /* subtle black tint */
}

.youtube-feed img {
	display: block;       /* removes any extra space below */
	width: 100%;
	height: 390px;
	object-fit: cover;
	z-index: -1;
	border-radius: 20px;
}

.youtube-feed i {
	position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* offsets its own size */
  font-size: 65px;
  color: white;
  z-index: 2;
}

.youtube-feed li a {
	position: absolute;
	left: 0;
	bottom: 0;
	border-radius: 0 0 20px 20px;
	z-index: 1;
}

.youtube-feed a {
    position: absolute;         /* sit on top of the image */
    padding: 10px;
    text-decoration: none;
    color: #fff;
    font-size: 32px;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 0%,               /* fully transparent at the top */
        rgba(0,0,0,0.7) 40%,            /* start darkening earlier */
        rgba(0,0,0,0.9) 100%  
    );
	min-height: 50px;
}

.youtube-feed li a:hover {
	color: #FF007F;
}
.youtube-feed li:hover a { 
	color: #FF007F;
}

.youtube-feed h1 {
	position: relative;
	text-align: left;
	font-size: 45px;
	margin-top: 30px;
	margin-bottom: 3px;
}

.twitch-stream {
	position: relative;
	width: 1450px;
	display: block;
	justify-content: center;
	margin: 0 auto;
}

.twitch-heading{
		position: relative;
		text-align: left;
		font-size: 45px;
		margin-bottom: 10px;
		margin-top: 40px;
	}

.twitch {
	position: relative;
	margin-bottom: 10px;
}

#twitch-embed {
	width: 975px;
	height: 560px;
}

.twitch iframe {
	border-radius: 15px;
}

.twitch-chat{
	position: absolute;
	top: 0;
	right: 0;
	width: 455px;
	height: 550px;
	padding-bottom: 10px;
	background-color: #fff;
}

.about-section1 {
  position: relative;
  width: 1450px;
  display: block;
  justify-content: center;
  margin: 0 auto;
}

.about-section1 h1{
	position: relative;
	text-align: left;
	font-size: 45px;
}

.about-section1 p{
	position: relative;
	text-align: left;
	font-size: 20px;
}
	
	.section-header{
		position: relative;
		margin: 0 auto;
		text-align: left;
		width: 1450px;
	}
	
	.footer-wrapper{
		position: fixed;
		height: 80px;
		bottom: 0;
		width: 100%;
		background-color: rgb(172, 19, 242);
		z-index: 48;
	}
	.footer{
		position: relative;
		max-width: 1450px;
		color: #fff;
		margin: 0 auto;
		padding: 0;
		top: 50%;
		transform: translateY(-50%);
	}
	.footer-text{
		margin-left: -1100px;
		font-size: 18px;
		font-family: Ordinary Notes;
		text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
	}
	.social-icons{
		position: relative;
		float: right;
		margin-top: -40px;
		margin-right: 10px;
		list-style: none;
	}

	.social-icons li{
		display: inline-block;
		font-size: 20px;
		color: white;
	}
	.social-icons li:nth-child(3){
		margin-left: -2px;
	}
	.social-icons li:not(:last-child) {
		margin-right: 20px;
	}
	.social-icons a {
		color: white;
	}
	.social-icons a:hover {
        color: pink; /*For IE8 and earlier */
        -webkit-transition: all .2s ease;
        -moz-transition: all .2s ease;
        -ms-transition: all .2s ease;
        -o-transition: all .2s ease;
        transition: all .2s ease;
	}
	.section-header{
		font-family: Bragga;
		font-style: italic;
		font-size: 38px;
		transform: scaleY(1.2);
		background-image: url('/images/starry-header-background.png');
		background-size: fill;
		background-repeat: no-repeat;
		background-clip: text;
		-webkit-background-clip: text;
		color: transparent;
		-webkit-text-stroke: 1.5px #000;
	}
}